import request from '@/utils/request'

// 查询签名列表
export function listWorkSignatureVo(query) {
  return request({
    url: '/work/signature/listWorkSignatureVo',
    method: 'get',
    params: query
  })
}

// 查询签名列表
export function listSignature(query) {
  return request({
    url: '/work/signature/list',
    method: 'get',
    params: query
  })
}

// 查询签名详细
export function getSignature(signatureId) {
  return request({
    url: '/work/signature/' + signatureId,
    method: 'get'
  })
}

// 新增签名
export function addSignature(data) {
  return request({
    url: '/work/signature',
    method: 'post',
    data: data
  })
}

// 修改签名
export function updateSignature(data) {
  return request({
    url: '/work/signature',
    method: 'put',
    data: data
  })
}

// 删除签名
export function delSignature(signatureId) {
  return request({
    url: '/work/signature/' + signatureId,
    method: 'delete'
  })
}
